/**
 * Mercenary.java
 */
package edu.gatech.startrader.player;

/**
 * Mercenary Class
 * This class creates a Mercenary
 * @author Team Bamf (Team 30)
 * @version 1.0
 */
public class Mercenary {
	/**
	 * Skills the Mercenary has
	 */
	private Skills skills;
	
	/**
	 * The price this mercenary requires every turn
	 */
	private int price;
	
	/**
	 * getSkills method
	 * This method gets the mercenary's skills.
	 * @return skills
	 */	
	public Skills getSkills() {
		return skills;
	}
	
	/**
	 * setSkills method
	 * This method sets the mercenary's skills.
	 * @param s the skill to set
	 */
	public void setSkills(Skills s) {
		skills = s;
	}
	
	/**
	 * getPrice Method
	 * This method returns the price it takes to hire the mercenary.
	 * @return price
	 */
	
	public int getPrice() {
		return price;
	}
	
	/**
	 * setPrice method
	 * This method sets the price it takes to hire the mercenary.
	 * @param p the price of hiring a mercenary
	 */
	public void setPrice(int p) {
		price = p;
	}
	
	/**
	 * toString method
	 * @return the object as a String
	 */
	public String toString() {
		return "Mercenary: \n Price: " + price + "\n" + skills.toString();
	}
}
